#include "UdpServer.hpp"
#include<memory>

using namespace log_ns;

int main()
{
    uint16_t port = 8899;
    std::string ip = "127.0.0.1";//本主机，localhost，本地环回

    EnableScreen();
    std::unique_ptr<UdpServer> usvr = std::make_unique<UdpServer>(ip, port);//C++14
    //初始化服务器
    usvr->InitServer();
    usvr->Start();
    return 0;
}